package ${dir}.service;

import java.util.List;
import ${dir}.entity.${table.name!};
import java.io.Serializable;
/**
 * @author gc
 *
 */
public interface ${table.name!}Service  {
	
	
	/**
	*保存实体对象
	*/
	public boolean save${table.name!}(${table.name!} cls);

	/**
	*修改对象
	*/
	public boolean edit${table.name!}(${table.name!} cls);
	/**
	*删除对象
	*/
	public boolean delete${table.name!}(Serializable id);

	/**
	*根据主键查询单个对象
	*/
	public ${table.name!} get${table.name!}(Serializable id);

	/**
	*查询所有对象
	*/
	public List<${table.name!}> getAll();
}